package com.java.service;

import java.util.List;
import java.util.Map;

import com.java.po.Department;
import com.java.po.DepartmentMap;
import com.java.tool.AjaxJson;

/**
 * Title:DepartService.java
 * Description:
 * @author:sprogrammer
 * @time:2018年2月22日下午10:33:43
 */
public interface DepartService {
	public AjaxJson insertDepartment(Department department) throws Exception;
	public AjaxJson deleteDepartmentById(Department department) throws Exception;
	public AjaxJson updateDepartmentById(Department department) throws Exception;
	public AjaxJson findAllDepartment(DepartmentMap departmentMap) throws Exception;
	public AjaxJson findDepartmentByid(Department department) throws Exception;
}
